package com.wangjialu.learner.payment.service;

import com.wangjialu.learner.payment.entities.Payment;

import java.util.List;

/**
 * <p></p>
 *
 * @author WangJialu
 * @since 2021/6/22 4:40
 */
public interface PaymentService {

    Payment queryById(Long id);

    List<Payment> queryAllByLimit(Integer offset, Integer limit);

    List<Payment> queryAll(Payment payment);

    int insert(Payment payment);

    int update(Payment payment);

    int deleteById(Long id);
}
